package Com.amit.corejava;

public class Lab98 {

	public static void main(String[] args) {
		
		String s1="amit";
		String s2="amit";
		
		String s3=new String("amit");
		String s4="yadav";
		
		
		System.out.println(s1.equals(s2));
		System.out.println(s1.equals(s3));
		System.out.println(s1.equals(s4));
		
	}

}
